<?php

namespace app\admin\validate;

use think\Validate;

class Member extends Validate
{
    /**
     * 验证规则
     */
    protected $rule = [
        'username' => 'require|max:50|unique:member',
        'nickname' => 'require',
        'password' => 'require',
        'email'    => 'require|email|unique:member,email',
    ];



}
